package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.JtOutboundOrder;
import com.ruoyi.common.core.domain.AjaxResult;

/**
 * 出库单Service接口
 * 
 * @author Alan Zhang
 * @date 2025-06-19
 */
public interface IJtOutboundOrderService 
{
    /**
     * 查询出库单
     * 
     * @param outboundOrderId 出库单主键
     * @return 出库单
     */
    public JtOutboundOrder selectJtOutboundOrderByOutboundOrderId(Long outboundOrderId);

    /**
     * 查询出库单列表
     * 
     * @param jtOutboundOrder 出库单
     * @return 出库单集合
     */
    public List<JtOutboundOrder> selectJtOutboundOrderList(JtOutboundOrder jtOutboundOrder);

    /**
     * 新增出库单
     * 
     * @param jtOutboundOrder 出库单
     * @return 结果
     */
    public int insertJtOutboundOrder(JtOutboundOrder jtOutboundOrder);

    /**
     * 修改出库单
     * 
     * @param jtOutboundOrder 出库单
     * @return 结果
     */
    public int updateJtOutboundOrder(JtOutboundOrder jtOutboundOrder);

    /**
     * 批量删除出库单
     * 
     * @param outboundOrderIds 需要删除的出库单主键集合
     * @return 结果
     */
    public int deleteJtOutboundOrderByOutboundOrderIds(String outboundOrderIds);

    /**
     * 删除出库单信息
     * 
     * @param outboundOrderId 出库单主键
     * @return 结果
     */
    public int deleteJtOutboundOrderByOutboundOrderId(Long outboundOrderId);

    /**
     * 确认出库
     * @param ids
     * @return
     */
    public AjaxResult outboundByIds(String ids);

    /**
     * 订单出库
     * @param orderId 订单ID
     * @return
     */
    public AjaxResult outboundByOrderId(Long orderId);
}
